import {
    service
} from "./request/request";

/**
 * 药品搜索
 */
export function getDrugQueryByWords(param) {
    return service({
        url: `/V1.0.0/web_doctor/drug/static/drugQueryByWords`,
        method: 'post',
        data: {
            ...param
        },
        params: {
            ...param
        }
    })
}

/**
 * 疾病搜索
 */
export function getDiseaseQueryByWords(param) {
    return service({
        url: `/V1.0.0/web_doctor/disease/static/diseaseQueryByWords`,
        method: 'post',
        data: {
            ...param
        },
        params: {
            ...param
        }
    })
}